var common = require('../../utils/common.js');
var Base = require('../CmptBase.js');
var app = getApp();

function Copyright({
  page,
  scope,
}) {
  Base.call(this, {
    page,
    scope: 'copyright'
  });
  this.init();
}

common.extend(Copyright, Base);

Object.assign(Copyright.prototype, {
  init() {
    this.setData(app.globalData.copyright, true);
  },
});

module.exports = Copyright;